package com.wrupple.muba.catalogs.client.widgets.fields.cells.templates;

import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;

public interface CatalogImageTemplate extends SafeHtmlTemplates {
	
	int BIG = 512;
	int THUMBNAIL = 128;
	int SMALL = 96;
	int TINY = 25;
	
	@Template("<img onclick=\"\" src=\"/vegetate/catalog/PersistentImageMetadata/read/{0}/"+TINY+"\" />")
	SafeHtml tinyImageOutput(String fileId);
	
	@Template("<img onclick=\"\" src=\"/vegetate/catalog/PersistentImageMetadata/read/{0}/"+SMALL+"\" />")
	SafeHtml smallImageOutput(String fileId);
	
	@Template("<img onclick=\"\" src=\"/vegetate/catalog/PersistentImageMetadata/read/{0}/"+THUMBNAIL+"\" />")
	SafeHtml thumbnailImageOutput(String fileId);
	
	@Template("<img onclick=\"\" src=\"/vegetate/catalog/PersistentImageMetadata/read/{0}/"+BIG+"\" />")
	SafeHtml bigImageOutput(String fileId);
	
	@Template("<img onclick=\"\" src=\"/vegetate/catalog/PersistentImageMetadata/read/{0}/image\" />")
	SafeHtml fullsizeImageOutput(String fileId);

	
}
